﻿#pragma once

#include <QWidget>
#include "ui_drawcolumn.h"

class DrawColumn : public QWidget
{
    Q_OBJECT
public:
    DrawColumn(QWidget *parent=nullptr);
    ~DrawColumn();
public:
    void setNum(int n);
    void setType(int type);
protected:
    void paintEvent(QPaintEvent * p);
private:
    Ui::column ui;
private:
    int m_iNum=0;
    int m_iSpace=1;
    int m_iType = 0;
};
